<script lang="ts" setup>
import { ref, reactive, nextTick } from 'vue';

const currentData = ref<any>({
  bigImg: new URL("../../../assets/images/gift-icon-1.jpg", import.meta.url),
  twoImg: new URL("../../../assets/images/gift-icon-2.jpg", import.meta.url),
  threeImg: new URL("../../../assets/images/gift-icon-3.jpg", import.meta.url)
});

</script>

<template>
  <section class="homeGiftUtil">
    <div class="item big" :style="{background: `url(${currentData.bigImg})center no-repeat`}"></div>
    <div class="item" :style="{background: `url(${currentData.twoImg})center no-repeat`}"></div>
    <div class="item" :style="{background: `url(${currentData.threeImg})center no-repeat`}"></div>
  </section>
</template>

<style lang="less" scoped>
.homeGiftUtil {
  width: 3.75rem;
  // height: 1.2rem;
  background: white;
  padding: 0 .05rem;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  .item {
    height: 1.2rem;
    background-size: contain !important;
    width: .93rem;
    &.big {
      width: 1.86rem;
    }
  }
}
</style>

